package messagesvc.orm.mapper;

import cn.ucloud.microsf.messagesvc.orm.entity.SubscribeEntity;
import cn.ucloud.microsf.messagesvc.orm.model.SubscribeDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Param;

/**
 * 模板订阅表
 *
 * @since 2021-11-19
 */
public interface SubscribeMapper extends BaseMapper<SubscribeEntity> {

  List<SubscribeDO> searchPage(@Param("rows") long rows, @Param("limit") long limit, @Param("req") Map<String, String> req);

  List<SubscribeDO> searchList(@Param("req") Map<String, String> req);

  long searchTotal(@Param("req") Map<String, String> req);
}
